#include<iostream>
#include<string>

using namespace std;

int main(){

	string s;

	s="Hello woooorld";
	s.replace(7,5,"or");
	cout<<s<<endl;
	


	s="Hello woooorld";
	s.replace(s.begin()+7,s.begin()+12,"or");
	cout<<s<<endl;


	s="Hello woooorld";
	s.replace(s.begin()+7,s.begin()+12,"orshadhasda",2);
        cout<<s<<endl;



}
